#ifndef GAME_H
#define GAME_H


#include "Utility/Timer.h"
#include "Utility/DirectInput.h"
#include "Renderer/Sprite.h"
#include "Game Objects/DynamicObject.h"

class Game
{
public:
	Game();
	~Game();
	Game(Game& game);

	static bool isRunning;
	static bool Initialize(HINSTANCE _hInstance, HWND _hWnd, bool _fullscreen, bool _bVsync, int _screenWidth, int _screenHeight);
	static void LoadSpriteImages();
	static void Run();
	static void Render();
	static void Update();
	static void Input(float _deltaTime);
	static void Exit();
	static void CalculateFrameStats();
	static Timer& GetTimer(){return timer;}

	static HWND hwnd;

private:
	static DynamicObject* tarma;
	static float rotation;
	static XMFLOAT2 position;
	static int imageID;
	static Timer timer;
	static DirectInput* directInput;
	static int currMouseX, currMouseY, prevMouseX, prevMouseY;
};


#endif